package com.ruoyi.hov.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ruoyi.dynamic.DynamicQueryService;
import com.ruoyi.hov.entity.Hov;
import com.ruoyi.hov.entity.HovSearchResultSet;

import java.lang.reflect.InvocationTargetException;

/**
 * <p>
 * hov主表 服务类
 * </p>
 *
 * @author XiaShiLong
 * @since 2021-04-01
 */
public interface HovService extends DynamicQueryService<Hov> {

    /**
     * 获取所有hov(绑定hov时获取)
     *
     * @param searchText 查询文本
     * @return page
     */
    Page<Hov> getAll(int page, int size, String searchText);

    /**
     * hov查询
     *
     * @param hovId      hovId
     * @param searchText 查询文本
     * @return <see>HovSearchResultSet</see>
     */
    HovSearchResultSet hovSearch(int page, int size, Long hovId, String searchText) throws NoSuchMethodException, IllegalAccessException, InvocationTargetException;
}
